Skip to content

Add Doctrine ORM installation instructions. #10798

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

LavaSlider
Copy link
Contributor

This best practices page assumes Doctrine is available and, since it is not, the reader is given a little extra information and a link to know how to make it available and be able to continue through the rest of the examples. This makes it consistent with the Data Fixtures description later on the page.

This best practices page assumes Doctrine is available and, since it is not, the reader is given a little extra information and a link to know how to make it available and be able to continue through the rest of the examples. This makes it consistent with the Data Fixtures description later on the page.

.. code-block:: terminal

$ composer require "symfony/orm-pack"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$ composer require "symfony/orm-pack"
$ composer require symfony/orm-pack

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The quotes on the composer line was to keep it consistent with the Data Fixtures section later on the page. In my opinion neither should have quotes but both having quotes is better than one with quotes and one without.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, I see. You could add a commit to remove the quotes over there too to make it consistent across the whole docs in my opinion.

@@ -122,6 +122,15 @@ library or strategy you want for this.

In practice, many Symfony applications rely on the independent
`Doctrine project`_ to define their model using entities and repositories.

Doctrine support is not enabled by default in Symfony. So to use Doctrine
as shown in the examples below you will need to install `Doctrine ORM support`_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use the doc role here instead:

:doc:`Doctrine ORM support </doctrine>`

Toflar added a commit to Toflar/symfony-docs that referenced this pull request Apr 7, 2019
@Toflar
Copy link
Contributor

Toflar commented Apr 7, 2019

Thank you very much for your pull request!

As part of the Symfony EU funded hackathon (https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming), we were able to assemble most of the core team and big contributors in one place. Our goal is to finish as many open issues and PRs as possible.

Your commits will not be lost and you will therefore get credit for your work. All that will happen is that your commits will be moved to a new PR where all remaining concerns will be addressed.

Without your work this would not have been possible. So thank you once again!

@xabbuh
Copy link
Member

xabbuh commented Apr 7, 2019

see #11332

@xabbuh xabbuh closed this Apr 7, 2019
@xabbuh xabbuh added the ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming label Apr 7, 2019
wouterj added a commit that referenced this pull request Apr 7, 2019
…Toflar)

This PR was merged into the 3.4 branch.

Discussion
----------

Add doctrine orm installation instructions

Follow up branch of #10798 including the requested changes. Also changed the base branch to 3.4 because it applies there too :)

Commits
-------

6d164c3 Addressed issues raised in (#10798)
d579eea Add Doctrine ORM installation instructions.
wouterj added a commit that referenced this pull request Apr 7, 2019
* 3.4:
  [#11328] Restructured into a definition list
  Fix a typo for the range of allowed attack complexity score values
  Addressed issues raised in (#10798)
  Add Doctrine ORM installation instructions.
  Adds documentation for monolog processors.
wouterj added a commit that referenced this pull request Apr 7, 2019
* 4.2:
  [#11328] Restructured into a definition list
  Fix a typo for the range of allowed attack complexity score values
  Addressed issues raised in (#10798)
  Add Doctrine ORM installation instructions.
  Adds documentation for monolog processors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Doctrine ⭐️ EU-FOSSA Hackathon https://symfony.com/blog/the-symfony-and-api-platform-hackathon-is-coming Status: Needs Work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants